package com.teach.listener;



import com.teach.util.ELTools;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class SystemListener implements ServletContextListener {
  @Override
  public void contextInitialized(ServletContextEvent sce) {
    sce.getServletContext().setAttribute("t", new ELTools());
  }

  @Override
  public void contextDestroyed(ServletContextEvent sce) {

  }
}
